package com.binc.testspring.service.impl.impl;

import com.binc.testspring.common.annotation.BincLog;
import com.binc.testspring.service.IPayService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * 阿里支付实现类
 *      策略的具体实现1
 */
@Slf4j
@Service
public class AliPayImpl implements IPayService {
    @Override
    public String pay(BigDecimal account) {
        return null;
    }

    @Override
    @BincLog("阿里test5")
    public void test5() {
        log.info("-------阿里test5-------");
    }
}
